#ifndef MANGOFISHGAME_H
#define MANGOFISHGAME_H

// Include necessary CL header files
#include "common.h"
#include "../model/World.h"

class MangoFishGame {

public:
	MangoFishGame();
	~MangoFishGame();

	void loadGraphics();	// Load the game graphics
	void paint();			// Draw the graphics
	
	void run();				// Game loop
	void handleMousePress(const CL_InputEvent &key);
	void processInput(const CL_InputEvent &key);	// Check for keyboard input

private:
	bool alive;
	
	// the current world
	World *current_world;

	// UI event processing
	CL_Slot mousePress;
	CL_Slot keyboardPress;

	CL_DisplayWindow mangoWindow;
};

#endif
